#ifndef CONSOLE
#define CONSOLE
#define CONSOLE

#include <string>

using std::string;

// Static utilities for printing to console
class console{

public:
	// Log action description and result to console
	static void log(string action, bool success);

private:
	// Max line length for log entry description
	static const int linelen = 40;

	// Position of log entry result part
	static const int tablen = 46;

	// Trim all chars in second string arg from Src string. Default will strip whitespace, CR and newline.
	static string trimStr(const string& Src, const string& c = " \r\n");
};

#endif